<template>
	<div>
		<div class="right-top">
			<el-page-header @back="$router.go(-1)" content="配置管理">
			</el-page-header>
		</div>
	</div>
</template>

<script>
	export default{
		data(){
			return {
				id:'',
				picture:'',
				detail:'',
				video:'',
				custom:''
			}
		},
		mounted(){
			this.id = this.$route.query.id
			this.picture = this.$route.query.id
			this.detail = this.$route.query.detail
			this.custom = this.$route.query.custom
			this.video = this.$route.query.video
		},
		created() {
		  this.getParams()
		},
		methods:{
			getParams () {
			  // 取到路由带过来的参数
			  let routerParams = this.$route.query.obj;
			  // 将数据放在当前组件的数据内
			  this.node = routerParams;
			  console.log("this.nodeData:",this.node);
			},
		
			// goBack(){
			// 	this.$router.go(-1)
			// },
		}
	}
</script>

<style lang="scss" scoped>
	.right-top{
		witdh:100%;
		background-color: #fff;
		font-weight: 600;
		font-size: 16px;
		padding: 16px 24px;
	}
</style>